home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Musik / Misc / Amster / Source / include / msg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-27  |  544 b   |  36 lines

  1. /*
  2. ** Message Header
  3. */
  4.  
  5. #include <sys/types.h>
  6.  
  7. #include "include/mui.h"
  8.  
  9. #ifndef AMSTER_MSG_H
  10. #define AMSTER_MSG_H
  11.  
  12. struct msgdata {
  13.     u_long *msglist;
  14.     u_long *msgstr;
  15. };
  16.  
  17. struct chatmsg {
  18.     char *user;
  19.     char *msg;
  20. };
  21.  
  22. MUIF msg_dispatch(REG(a0) struct IClass *cl,REG(a2) Object *obj,REG(a1) Msg msg);
  23.  
  24. #define MSG_OPEN   0x4001
  25. #define MSG_GOT    0x4002
  26. #define MSG_SAY    0x4003
  27. #define MSG_WHOIS  0x4004
  28. #define MSG_WHOWAS 0x4005
  29.  
  30. extern void msg_got(char *nick, char *msg);
  31. extern void msg_gotwhois(char *buf);
  32.  
  33.  
  34.  
  35. #endif    /* AMSTER_MSG_H */
  36.